package cn.itcast.interfaces;

import cn.itcast.pojo.CheckGroup;
import cn.itcast.pojo.PageResult;

import java.util.List;

/**
 * @author: peterChen
 * @date: 2019/8/13 16:45
 * @description: TODO
 * @version: 1.0
 */
public interface CheckGroupService {
    public void add(CheckGroup checkGroup, Integer[] checkitemIds);

    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public CheckGroup findCheckgroupById(Integer id);

    public List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    public void edit(CheckGroup checkGroup, Integer[] checkitemIds);

    public void delete(Integer id);

    public List<CheckGroup> findAll();


}
